package com.loc;

/* compiled from: TGps.java */
/* loaded from: classes2.dex */
public final class dl extends ge {
    private static int a(gd gdVar) {
        return gdVar.b();
    }

    public static int a(gd gdVar, long j, long j2, int i, int i2, int i3, int i4, int i5, short s, byte b) {
        gdVar.b(10);
        b(gdVar, j2);
        a(gdVar, j);
        e(gdVar, i5);
        d(gdVar, i4);
        c(gdVar, i3);
        b(gdVar, i2);
        a(gdVar, i);
        a(gdVar, s);
        a(gdVar, b);
        return a(gdVar);
    }

    private static void a(gd gdVar, byte b) {
        gdVar.a(8, b);
    }

    private static void a(gd gdVar, int i) {
        gdVar.a(2, i);
    }

    private static void a(gd gdVar, long j) {
        gdVar.a(0, j);
    }

    private static void a(gd gdVar, short s) {
        gdVar.a(7, s);
    }

    private static void b(gd gdVar, int i) {
        gdVar.a(3, i);
    }

    private static void b(gd gdVar, long j) {
        gdVar.a(1, j);
    }

    private static void c(gd gdVar, int i) {
        gdVar.a(4, i);
    }

    private static void d(gd gdVar, int i) {
        gdVar.a(5, i);
    }

    private static void e(gd gdVar, int i) {
        gdVar.a(6, i);
    }
}
